from django.conf.urls.defaults import *

urlpatterns = patterns('admin.views',
    ('^$', 'index'),
    ('^left/$', 'left'),

    ('^post_list/$', 'post_list'),
    ('^add_post/', 'add_post'),
    ('^comment_list/$', 'comment_list'),
    ('^user_list/', 'user_list'),

    ('^add_post_post/', 'add_post_post'),

    ('^del_post/', 'del_post'),
    ('^edit_post/', 'edit_post'),
    ('^edit_post_post/', 'edit_post_post'),

    ('^comment_list/$', 'comment_list'),
    ('^del_comment/', 'del_comment'),

    ('^user_list/$', 'user_list'),
    
    ('^sidebar_list/$', 'sidebar_list'),
    ('^sidebar_add/$', 'sidebar_add'),
    ('^sidebar_add_post/$', 'sidebar_add_post'),
    ('^sidebar_edit/$', 'sidebar_edit'),
    ('^sidebar_edit_post/$', 'sidebar_edit_post'),
    ('^sidebar_delete/$', 'sidebar_delete'),
    
    
)
